/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-03-22     Y       the first version
 */
#ifndef APPLICATIONS_RGB_LED_H_
#define APPLICATIONS_RGB_LED_H_
#include <stdint.h>
#include <rtthread.h>
#include <rtdevice.h>

#define MATRIX_WIDTH    (32)
#define MATRIX_HEIGHT   (32)

void display_PWM(void);

void RGBLED_GPIO_Init(void);

uint32_t get_total_frame_count(void);

void set_led_gamma(uint16_t *temp);

uint8_t Display_PWM[MATRIX_WIDTH * MATRIX_HEIGHT][3];

#endif /* APPLICATIONS_RGB_LED_H_ */
